package com.cndw.kungfu.domain;

import com.cndw.kungfu.model.Context;

public class LogGot {
	
	private int id;
	
	private long playerId;
	
	private int gold;
	
	private int eventId;
	
	private int addTime;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public long getPlayerId() {
		return playerId;
	}

	public void setPlayerId(long playerId) {
		this.playerId = playerId;
	}

	public int getGold() {
		return gold;
	}

	public void setGold(int gold) {
		this.gold = gold;
	}

	public int getEventId() {
		return eventId;
	}

	public void setEventId(int eventId) {
		this.eventId = eventId;
	}

	public int getAddTime() {
		return addTime;
	}

	public void setAddTime(int addTime) {
		this.addTime = addTime;
	}
	
	
	public void syncDB() {		
		Context.getSyncServer().syncDB(this);
	}
}
